﻿@model SimplCommerce.Module.Core.ViewModels.UserAddressFormViewModel

<div class="form-group">
    <label class="col-sm-2 control-label">@Localizer["Contact name"]</label>
    <div class="col-sm-10">
        <input asp-for="ContactName" type="text" class="form-control">
    </div>
</div>
<div class="form-group">
    <label class="col-sm-2 control-label">@Localizer["Address"]</label>
    <div class="col-sm-10">
        <input asp-for="AddressLine1" type="text" class="form-control">
    </div>
</div>
<div class="form-group">
    <label class="col-sm-2 control-label">@Localizer["State or Province"]</label>
    <div class="col-sm-10">
        <select asp-for="StateOrProvinceId" asp-items="Model.StateOrProvinces" class="form-control"></select>
    </div>
</div>
<div class="form-group">
    <label class="col-sm-2 control-label">@Localizer["District"]</label>
    <div class="col-sm-10">
        <select asp-for="DistrictId" asp-items="Model.Districts" class="form-control"></select>
    </div>
</div>
<div class="form-group">
    <label class="col-sm-2 control-label">@Localizer["Phone"]</label>
    <div class="col-sm-10">
        <input asp-for="Phone" type="text" class="form-control">
    </div>
</div>
<div class="form-group">
    <div class="col-md-offset-2 col-md-10">
        <button type="submit" class="btn btn-primary">@Localizer["Save"]</button>
        <a href="~/user/address" class="btn btn-default">@Localizer["Cancel"]</a>
    </div>
</div>
